.demo41 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 30px;

  div {
    width: 8px;
    height: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #344966;
    float: left;
    animation: demo41 1s linear infinite;
    animation-play-state: paused;

    &:nth-child(1) {
      left: 0;
      animation-delay: -0s;
    }

    &:nth-child(2) {
      left: 18px;
      animation-delay: -0.3s;
    }

    &:nth-child(3) {
      left: 36px;
      animation-delay: -0.2s;
    }

    &:nth-child(4) {
      left: 54px;
      animation-delay: -0.5s;
    }

    &:nth-child(5) {
      left: 72px;
      animation-delay: -0.8s;
    }
  }

  @keyframes demo41 {
    0% {
      height: 30px;
    }

    50% {
      height: 80px;
      background: #A994BD;
    }

    100% {
      height: 30px;
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo42 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 30px;

  div {
    width: 8px;
    height: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #344966;
    float: left;
    animation: demo42 1s linear infinite;
    animation-play-state: paused;

    &:nth-child(1) {
      left: 0;
      animation-delay: 0.6s;
    }

    &:nth-child(2) {
      left: 18px;
      animation-delay: 0.3s;
    }

    &:nth-child(3) {
      left: 36px;
      animation-delay: -0s;
    }

    &:nth-child(4) {
      left: 54px;
      animation-delay: 0.3s;
    }

    &:nth-child(5) {
      left: 72px;
      animation-delay: 0.6s;
    }
  }

  @keyframes demo42 {
    0% {
      height: 30px;
    }

    50% {
      height: 80px;
      background: #A994BD;
    }

    100% {
      height: 30px;
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo43 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 30px;

  div {
    width: 8px;
    height: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #344966;
    float: left;
    animation: demo43 1s linear infinite;
    animation-play-state: paused;

    &:nth-child(1) {
      left: 0;
      animation-delay: 0.6s;
    }

    &:nth-child(2) {
      left: 18px;
      animation-delay: 0.3s;
    }

    &:nth-child(3) {
      left: 36px;
      animation-delay: -0s;
    }

    &:nth-child(4) {
      left: 54px;
      animation-delay: 0.3s;
    }

    &:nth-child(5) {
      left: 72px;
      animation-delay: 0.6s;
    }
  }

  @keyframes demo43 {
    0% {
      height: 30px;
    }

    10% {
      height: 80px;
      background: #A994BD;
    }

    100% {
      height: 30px;
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo44 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  div {
    width: 4px;
    height: 30px;
    background: #344966;
    position: absolute;
    left: 50%;
    bottom: 50%;
    animation: demo44 1.6s linear infinite;
    animation-play-state: paused;

    // 在X方向的位置控制水平方向居中
    // 先旋转角度，这样每个元素的x轴和y轴的方向都发生了变化，再在y轴方向上进行位移，形成扩散的效果
    &:nth-child(1) {
      transform: translateX(-50%) rotate(0deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: 0s;
    }

    &:nth-child(2) {
      transform: translateX(-50%) rotate(45deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.2s;
    }

    &:nth-child(3) {
      transform: translateX(-50%) rotate(90deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.4s;
    }

    &:nth-child(4) {
      transform: translateX(-50%) rotate(135deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.6s;
    }

    &:nth-child(5) {
      transform: translateX(-50%) rotate(180deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.8s;
    }

    &:nth-child(6) {
      transform: translateX(-50%) rotate(225deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1s;
    }

    &:nth-child(7) {
      transform: translateX(-50%) rotate(270deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.2s;
    }

    &:nth-child(8) {
      transform: translateX(-50%) rotate(315deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.4s;
    }
  }

  @keyframes demo44 {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0.3;
    }

  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo45 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: demo45_2 7s linear infinite;
  animation-play-state: paused;

  div {
    width: 4px;
    height: 30px;
    background: #344966;
    position: absolute;
    left: 50%;
    bottom: 50%;
    animation: demo45_1 1.6s linear infinite;
    animation-play-state: paused;

    // 在X方向的位置控制水平方向居中
    // 先旋转角度，这样每个元素的x轴和y轴的方向都发生了变化，再在y轴方向上进行位移，形成扩散的效果
    &:nth-child(1) {
      transform: translateX(-50%) rotate(0deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: 0s;
    }

    &:nth-child(2) {
      transform: translateX(-50%) rotate(45deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.2s;
    }

    &:nth-child(3) {
      transform: translateX(-50%) rotate(90deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.4s;
    }

    &:nth-child(4) {
      transform: translateX(-50%) rotate(135deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.6s;
    }

    &:nth-child(5) {
      transform: translateX(-50%) rotate(180deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.8s;
    }

    &:nth-child(6) {
      transform: translateX(-50%) rotate(225deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1s;
    }

    &:nth-child(7) {
      transform: translateX(-50%) rotate(270deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.2s;
    }

    &:nth-child(8) {
      transform: translateX(-50%) rotate(315deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.4s;
    }
  }

  @keyframes demo45_1 {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0.3;
    }

  }

  @keyframes demo45_2 {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
      transform: translate(-50%, -50%) rotate(360deg);
    }
  }

  &.active {
    animation-play-state: running;

    div {
      animation-play-state: running;
    }
  }
}

.demo46 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  div {
    width: 4px;
    height: 30px;
    background: #344966;
    position: absolute;
    left: 50%;
    bottom: 50%;
    animation: demo46_1 1.6s linear infinite;
    animation-play-state: paused;

    // 在X方向的位置控制水平方向居中
    // 先旋转角度，这样每个元素的x轴和y轴的方向都发生了变化，再在y轴方向上进行位移，形成扩散的效果
    &:nth-child(1) {
      transform: translateX(-50%) rotate(315deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: 0s;
    }

    &:nth-child(2) {
      transform: translateX(-50%) rotate(270deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.2s;
    }

    &:nth-child(3) {
      transform: translateX(-50%) rotate(225deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.4s;
    }

    &:nth-child(4) {
      transform: translateX(-50%) rotate(180deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.6s;
    }

    &:nth-child(5) {
      transform: translateX(-50%) rotate(135deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.8s;
    }

    &:nth-child(6) {
      transform: translateX(-50%) rotate(90deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.0s;
    }

    &:nth-child(7) {
      transform: translateX(-50%) rotate(45deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.2s;
    }

    &:nth-child(8) {
      transform: translateX(-50%) rotate(0deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.4s;
    }


  }

  @keyframes demo46_1 {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0.3;
    }

  }

  &.active {
    animation-play-state: running;

    div {
      animation-play-state: running;
    }
  }
}

.demo47 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: demo47_2 7s linear infinite;
  animation-play-state: paused;

  div {
    width: 4px;
    height: 30px;
    background: #344966;
    position: absolute;
    left: 50%;
    bottom: 50%;
    animation: demo47_1 1.6s linear infinite;
    animation-play-state: paused;

    // 在X方向的位置控制水平方向居中
    // 先旋转角度，这样每个元素的x轴和y轴的方向都发生了变化，再在y轴方向上进行位移，形成扩散的效果
    &:nth-child(1) {
      transform: translateX(-50%) rotate(315deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: 0s;
    }

    &:nth-child(2) {
      transform: translateX(-50%) rotate(270deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.2s;
    }

    &:nth-child(3) {
      transform: translateX(-50%) rotate(225deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.4s;
    }

    &:nth-child(4) {
      transform: translateX(-50%) rotate(180deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.6s;
    }

    &:nth-child(5) {
      transform: translateX(-50%) rotate(135deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -0.8s;
    }

    &:nth-child(6) {
      transform: translateX(-50%) rotate(90deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.0s;
    }

    &:nth-child(7) {
      transform: translateX(-50%) rotate(45deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.2s;
    }

    &:nth-child(8) {
      transform: translateX(-50%) rotate(0deg) translateY(-15px);
      transform-origin: bottom center;
      animation-delay: -1.4s;
    }

  }

  @keyframes demo47_1 {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0.3;
    }

  }

  @keyframes demo47_2 {
    0% {
      transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
      transform: translate(-50%, -50%) rotate(-360deg);
    }
  }

  &.active {
    animation-play-state: running;

    div {
      animation-play-state: running;
    }
  }
}

.demo48 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  div {
    position: absolute;

    &:nth-child(1),
    &:nth-child(2) {
      position: absolute;
      left: 20px;
      top: 50%;
      transform: translateY(-50%) rotate(0deg);
      width: 80px;
      height: 40px;
      background: #344966;
      z-index: 2;
    }

    &:nth-child(3),
    &:nth-child(4),
    &:nth-child(5),
    &:nth-child(6) {
      width: 15px;
      height: 15px;
      border-radius: 50%;
      background: #F9A720;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
    }

    &:nth-child(1) {
      border-radius: 80px 80px 0 0;
      margin-top: -20px;
      // 上半部分半圆，旋转角度设置在下边的中心
      transform-origin: bottom center;
      animation: demo48_1 1s ease-in-out infinite;
      animation-play-state: paused;
    }

    &:nth-child(2) {
      border-radius: 0 0 80px 80px;
      margin-top: 20px;
      // 下半部分半圆，旋转角度设置在上边的中心
      transform-origin: top center;
      animation: demo48_2 1s ease-in-out infinite;
      animation-play-state: paused;
    }

    &:nth-child(3) {
      left: 120px;
      animation: demo48_3 4s linear 0s infinite;
      animation-play-state: paused;
    }

    &:nth-child(4) {
      left: 90px;
      animation: demo48_3 4s linear -1s infinite;
      animation-play-state: paused;
    }

    &:nth-child(5) {
      left: 60px;
      animation: demo48_3 4s linear -2s infinite;
      animation-play-state: paused;
    }

    &:nth-child(6) {
      left: 30px;
      animation: demo48_3 4s linear -3s infinite;
      animation-play-state: paused;
    }
  }

  @keyframes demo48_1 {
    0% {
      transform: translateY(-50%) rotate(0deg);
    }

    50% {
      transform: translateY(-50%) rotate(-35deg);
    }

    100% {
      transform: translateY(-50%) rotate(0deg);
    }
  }

  @keyframes demo48_2 {
    0% {
      transform: translateY(-50%) rotate(0deg);
    }

    50% {
      transform: translateY(-50%) rotate(35deg);
    }

    100% {
      transform: translateY(-50%) rotate(0deg);
    }
  }

  @keyframes demo48_3 {
    0% {
      left: 120px;
    }

    25% {
      left: 90px;
    }

    50% {
      left: 60px;
    }

    75% {
      left: 30px;
    }

    100% {
      left: 30px;
    }

  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo49 {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  div {
    position: absolute;

    &:nth-child(1) {
      width: 70px;
      height: 70px;
      background: #344966;
      border-radius: 10px;
      left: 50%;
      top: 30px;
      transform: translateX(-50%);
      animation: demo49_1 1s linear infinite;
      animation-play-state: paused;
    }

    &:nth-child(2) {
      width: 20px;
      height: 5px;
      border-radius: 50%;
      background: rgba(52, 73, 102, 0.3);
      left: 50%;
      bottom: 15px;
      transform: translateX(-50%);
      animation: demo49_2 1s linear infinite;
      animation-play-state: paused;
    }
  }

  @keyframes demo49_1 {
    0% {
      top: 30px;
      transform: translateX(-50%) rotate(0deg);
    }

    // 圆角在20%的时候，再改变，此时位移效果已经接触到了地面
    20% {
      border-radius: 10px 10px 10px 10px;
    }

    50% {
      top: 70px;
      border-radius: 10px 10px 70px 10px;
      transform: translateX(-50%) rotate(45deg);
    }

    80% {
      border-radius: 10px 10px 10px 10px;
    }

    100% {
      top: 30px;
      transform: translateX(-50%) rotate(90deg);
    }
  }

  // 阴影效果，改变宽高形变
  @keyframes demo49_2 {
    0% {
      width: 20px;
      height: 5px;
    }

    50% {
      width: 60px;
      height: 10px;
    }

    100% {
      width: 20px;
      height: 5px;
    }
  }

  &.active {
    div {
      animation-play-state: running;
    }
  }
}

.demo50 {
  position: absolute;
  width: 100px;
  height: 100px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  div {
    position: absolute;
    left: 0;
    top: 0;


    &:nth-child(1) {
      width: 100px;
      height: 100px;
      border: 4px solid #344966;
      box-sizing: border-box;
      transform: rotate(0deg);
      animation: demo50_1 2s linear infinite;
      animation-play-state: paused;

      &::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 96px;
        height: 96px;
        background: #344966;
        animation: demo50_2 2s linear infinite;
        animation-play-state: paused;
      }
    }

  }

  @keyframes demo50_1 {

    // 最开始的时候旋转
    // 旋转完一圈之后停顿
    // 之后再旋转一圈
    // 最后停顿
    0% {
      transform: rotate(0deg);
    }

    25% {
      transform: rotate(180deg);
    }

    50% {
      transform: rotate(180deg);
    }

    75% {
      transform: rotate(360deg);
    }

    100% {
      transform: rotate(360deg);
    }
  }

  @keyframes demo50_2 {
    0% {
      height: 0;
    }

    25% {
      height: 0;
    }

    50% {
      height: 96px;
    }

    75% {
      height: 96px;
    }

    100% {
      height: 0;
    }
  }

  &.active {
    div {
      animation-play-state: running;

      &::before {
        animation-play-state: running;
      }
    }
  }
}